package 设计模式.四建造者模式.improve;

//抽象建造者
public abstract class HouseBuilder {
    //组合
    protected House house = new House();

    //将建造的流程写好，抽象的方法
    public abstract void buildBasic();
    public abstract void buildWalls();
    public abstract void roofed();

    //建造房子
    public House buildHouse() {
        return house;
    }
}
